package com.cwz.service;

import com.cwz.entity.Material;
import com.cwz.entity.User;
import com.cwz.param.ApiHttpQueryParam;
import com.cwz.param.UserQueryParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * @author wenZhen
 * @create 2024-08-17 10:51
 */
public interface UserService extends IService {
    Map<String,Object> login(User user, HttpSession session);

    Map<String, Object> save(User user, HttpSession session);


    Map<String, Object> page(UserQueryParam param, HttpSession session);

    Map<String, Object> disable(User user, HttpSession session);

    Map<String, Object> update(User user, HttpSession session);

    Map<String, Object> register(User user);
}
